package com.example.plist.configure;

import com.example.plist.configure.app.WXapp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class AppConfigure {

    @Autowired
    private WXapp wXapp;
    @Bean(name = "thridApp")
    ThridApp setThridApp(){
        ThridApp apps = new ThridApp();
        apps.appendProvider(ThridAppEnum.WEIXIH.getProvider(),wXapp);
        return  apps;
    }
}
